﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true" CodeFile="UpdateEcard.aspx.cs" Inherits="updateData" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="Css/updateEcard.css" rel="stylesheet" />
    <style type="text/css">
        .auto-style1 {
            width: 141px;
        }
        .auto-style2 {
            width: 303px;
        }
        .auto-style3 {
            width: 141px;
            height: 22px;
        }
        .auto-style4 {
            width: 303px;
            height: 22px;
        }
        .auto-style5 {
            height: 22px;
        }
        .auto-style6 {
            width: 141px;
            height: 25px;
        }
        .auto-style7 {
            width: 303px;
            height: 25px;
        }
        .auto-style8 {
            height: 25px;
        }
        .auto-style9 {
            width: 141px;
            height: 21px;
        }
        .auto-style10 {
            width: 303px;
            height: 21px;
        }
        .auto-style11 {
            height: 21px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div id="content_title">Update Ecard</div>
     <div id="content_detail">
     <div id="box_addEcard">
         <table style="width:100%;">
             <tr>
                 <td class="auto-style1">&nbsp;</td>
                 <td class="auto-style2">
                     <asp:Label ID="Label1" runat="server" ForeColor="#000066" Text="Add Ecard"></asp:Label>
                 </td>
                 <td>&nbsp;</td>
             </tr>
             <tr>
                 <td class="auto-style9"></td>
                 <td class="auto-style10">
                     <asp:Label ID="lblInfo" runat="server" ForeColor="#FF3300"></asp:Label>
                 </td>
                 <td class="auto-style11"></td>
             </tr>
             <tr>
                 <td class="auto-style1">URL Image :</td>
                 <td class="auto-style2">
                     <asp:TextBox ID="txtUrlImage" runat="server" Width="290px"></asp:TextBox>
                 </td>
                 <td>&nbsp;</td>
             </tr>
             <tr>
                 <td class="auto-style3">URL Flash :</td>
                 <td class="auto-style4">
                     <asp:TextBox ID="txtUrlFlash" runat="server" Width="290px"></asp:TextBox>
                 </td>
                 <td class="auto-style5"></td>
             </tr>
             <tr>
                 <td class="auto-style1">Name Ecard :</td>
                 <td class="auto-style2">
                     <asp:TextBox ID="txtNameEcard" runat="server" Width="290px"></asp:TextBox>
                 </td>
                 <td>&nbsp;</td>
             </tr>
             <tr>
                 <td class="auto-style6">Type Card Name</td>
                 <td class="auto-style7">
                     <asp:DropDownList ID="ddlTypeCardName" runat="server" Height="30px" Width="137px">
                     </asp:DropDownList>
                 </td>
                 <td class="auto-style8"></td>
             </tr>
             <tr>
                 <td class="auto-style1">&nbsp;</td>
                 <td class="auto-style2">
                     <asp:Button ID="btnAdd" runat="server" BackColor="#FF6600" ForeColor="White" Height="30px" OnClick="btnAdd_Click" Text="ADD" Width="70px" />
                 </td>
                 <td>&nbsp;</td>
             </tr>
             <tr>
                 <td class="auto-style1">&nbsp;</td>
                 <td class="auto-style2">&nbsp;</td>
                 <td>&nbsp;</td>
             </tr>
         </table>
         </div>
     <div id="box_displayEcard">
         <div id="box_displayEcard_title">
             <asp:Label ID="Label2" runat="server" Text="List Ecard" ForeColor="#000066" Font-Size="Large"></asp:Label></div>
         <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Width="850px">
             <AlternatingRowStyle Width="100px" />
             <Columns>
                 <asp:BoundField DataField="EcardId" HeaderText="Ecard ID" />
                 <asp:BoundField DataField="urlFlash" HeaderText="URL Flash" />
                 <asp:BoundField DataField="EcardName" HeaderText="Ecard Name" />
                 <asp:BoundField DataField="Count" HeaderText="Count" />
                 <asp:BoundField DataField="TypeId" HeaderText="Type Card Id" />
                 <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
             </Columns>
             <EditRowStyle Width="100px" />
             <FooterStyle BackColor="White" ForeColor="#000066" />
             <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
             <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
             <RowStyle ForeColor="#000066" />
             <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
             <SortedAscendingCellStyle BackColor="#F1F1F1" />
             <SortedAscendingHeaderStyle BackColor="#007DBB" />
             <SortedDescendingCellStyle BackColor="#CAC9C9" />
             <SortedDescendingHeaderStyle BackColor="#00547E" />
         </asp:GridView>

     </div>
</asp:Content>

